package cn.com.zero.sample.trade.api.service;

import cn.com.zero.db.vo.PageParamsVO;
import cn.com.zero.db.vo.PageVO;
import cn.com.zero.sample.trade.api.po.OrderPO;

import java.util.List;

/**
 * @author liuxh
 * @version 1.0.0
 * @Description 订单接口
 * @createTime 2022/7/27 11:39
 */
public interface IOrderService {

    int order(OrderPO orderPO);

    OrderPO getPaymentById(Long id);

    List<OrderPO> getPaymentList();

    PageVO<OrderPO> getPaymentRPCList(PageParamsVO pageParams);
}
